﻿using CrawlerFramework.CrawlerEngine;
using CrawlerFramework.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CrawlerFramework.Scheduler
{
    public interface ISchedulerManager
    {
        ICrawlerEngine CrawlerEngine { get;  }

        /// <summary>
        /// Get all scheduled jobs for this crawler config
        /// </summary>
        /// <returns></returns>
        IEnumerable<ScheduledJob> GetAllJobs();

        void Start();

        void StartJob(Guid scheduledJobGuid);
    }
}
